package xyz.xtt.third.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 玫瑰花三方订单表
 * </p>
 *
 * @author author
 * @since 2025-02-11
 */
@Builder
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tbl_third_order")
@ApiModel(value = "TblThirdOrder对象", description = "玫瑰花三方订单表")
public class TblThirdOrder implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "主键")
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;

	@ApiModelProperty(value = "手机号")
	private String phonenumber;

	@ApiModelProperty(value = "用户昵称")
	private String userName;

	@ApiModelProperty(value = "资产id")
	private String configId;

	@ApiModelProperty(value = "订单号")
	private String orderNumber;

	@ApiModelProperty(value = "订单金额")
	private BigDecimal totalAmount;

	@ApiModelProperty(value = "订单业务类型")
	private String bizType;

	@ApiModelProperty(value = "用户uid")
	private Long userId;

	@ApiModelProperty(value = "用户类型0现有1新注册")
	private Integer userType;

	@ApiModelProperty(value = "最后修改时间")
	private LocalDateTime crt;

	@ApiModelProperty(value = "下一个动作时间")
	private LocalDateTime nextTime;

	@ApiModelProperty(value = "结果")
	private Integer result;
	@ApiModelProperty(value = "交易单id")
	private Long tid;

}
